var majiang_gs_create_room_tabData = {
    btn_2: {
        click: ['mapid_1'],
        show: ["word_rs", "word_gjxx2"],
        hide: ['liangrenwan', 'sanrenwan', 'siren','wanjiarenshu0', 'wanjiarenshu1', 'wanjiarenshu2', "word_fs", "word_gjxx",'fengding',"word_wf"]
    },

    btn_1: {
        click: ['mapid_0'],
        show: ['fengding','word_wf'],
        hide: ['word_gjxx','word_fs','word_rs', "word_gjxx2"]
    },
    btn_3: {
        click: ['mapid_2'],
        show: ['word_fs','word_rs'],//'word_gjxx',
        hide: ['fengding','word_wf', "word_gjxx2"]
    },

};

var APP_ID_HN = 1; // 湖南
var APP_ID_HB = 2;
var APP_ID_SC = 3;
var APP_ID_JIANGXI = 4;
var APP_ID_HEBEI = 5;
var APP_ID_GUAGUA = 6;
var APP_ID_GUANGDONG = 7;
var APP_ID_DONGBEI = 8;
var APP_ID_ANHUI = 9;
var APP_ID_GUIZHOU = 10;
var APP_ID_SHANXI = 11;
var APP_ID_SHANDONG = 12;
var APP_ID_SHAN3XI = 13;
var APP_ID_HENAN = 20;
var APP_ID_YUNCHENG = 24;
var APP_ID_GUANGXI = 25;
// var APP_ID_SIPING = 30;
var APP_ID_DANDONG = 31;
var APP_ID_PK = 200;
var APP_ID_DDZ = 201;
var APP_ID_WK = 204;
var APP_ID_PHZ = 300;

var MAP_ID_ZHUANZHUAN = 1;
var MAP_ID_KWX_XF = 2;
var MAP_ID_WUHAN_KAIKOU = 4;
var MAP_ID_WUHAN_KOUKOU = 6;
var MAP_ID_CHANGSHA = 5;
var MAP_ID_SICHUAN_XUEZHAN = 7;
var MAP_ID_SICHUAN_XUELIU = 8;
var MAP_ID_SICHUAN_DEYANG = 9;
var MAP_ID_SHANDONG = 12;
var MAP_ID_PINGXIANG258 = 13;
var MAP_ID_GUANGDONG = 14;
var MAP_ID_FEIXI = 36;
var MAP_ID_GUANGDONG_TUIDAO = 41;
var MAP_ID_GUANGDONG_JIPING = 42;
var MAP_ID_NANCHANG = 18;
var MAP_ID_ANHUI = 19;
var MAP_ID_SHANXI3 = 21;
var MAP_ID_HEBEI = 22;
var MAP_ID_YONGNIAN = 23;
var MAP_ID_SHANXI_LVLIANG = 31;
var MAP_ID_SHANXI_TAIYUAN = 32;
var MAP_ID_LINYI = 28;
var MAP_ID_SHANXI_ZHUANZHUAN = 33;
var MAP_ID_SHANXI_HUASHUI = 30;
var MAP_ID_SHANXI_DADIANZI = 43;
var MAP_ID_SHANXI_WEINAN = 44;
var MAP_ID_SHANXI_TUIDAOHU = 46;
var MAP_ID_SHANXI_JINGBIAN = 45;
var MAP_ID_SHANXI_LLFY = 47;
var MAP_ID_SHANXI_TKSJ = 51;
var MAP_ID_HUASHUI_SIPING = 100;
var MAP_ID_DANDONG = 101;
var MAP_ID_KUANDIAN = 102;
var MAP_ID_YUNCHENG = 157;
var MAP_ID_ZJH = 216; //207 拼三张 老的mapid 废弃
var MAP_ID_ZJH_JQ = 219; //激情拼三张
var MAP_ID_PDK = 200;
var MAP_ID_DDZ_JD = 201;//斗地主
var MAP_ID_XIANGYANG_PDK = 203;
var MAP_ID_WK = 204;//陕西挖坑
var MAP_ID_MIA_PDK = 205;//陕北老麻子
var MAP_ID_LAIZI_DDZ = 206;
var MAP_ID_SDB = 105;


var majiang_gs_create = {};
majiang_gs_create.pos3X = {
    1: 455,
    2: 695,
    3: 935
};
majiang_gs_create.pos4X = {
    1: 455,
    2: 605,
    3: 755,
    4: 905
};
majiang_gs_create.posY = {
    1: 584,
    2: 529,
    3: 474,
    4: 419,
    5: 364,
    6: 309,
    7: 254,
    8: 199,
    9: 144,

};
var majiang_gs_create_room_wanFaData = [
    ['mapid', [
        ['庆阳划水', app.map_id.GanSu_HuaShui, -1000, -1000, true, true, false],
        ['陇南摆叫', app.map_id.GanSu_BaiJiao, -1000, -1000, true, true, false],
        ['卡二条', app.map_id.GanSu_KaErTiao, -1000, -1000, true, true, false],
    ]],
    ['AA', [
        ['房主支付', false, majiang_gs_create.pos3X[1], majiang_gs_create.posY[1], false, true, false, null, ['mapid_0','mapid_1','mapid_2']],
        ['AA支付', true, majiang_gs_create.pos3X[2], majiang_gs_create.posY[1], true, true, false, null, ['mapid_0','mapid_1','mapid_2']]
    ]],
    ['jushu', [
        ['4局', 4, majiang_gs_create.pos3X[1], majiang_gs_create.posY[2], true, true, false, null, ['mapid_0','mapid_1','mapid_2']],
        ['8局', 8, majiang_gs_create.pos3X[2], majiang_gs_create.posY[2], true, true, false, null, ['mapid_0','mapid_1','mapid_2']],
        ['16局', 16, majiang_gs_create.pos3X[3], majiang_gs_create.posY[2], false, true, false, null, ['mapid_0','mapid_1','mapid_2']]
    ]],

    //庆阳划水
    ['liangrenwan', [['2人', true,majiang_gs_create.pos3X[3], majiang_gs_create.posY[3], false, true, false, ['sanrenwan_0', 'siren_0'], ['mapid_0']]]],
    ['sanrenwan', [['3人', true, majiang_gs_create.pos3X[2], majiang_gs_create.posY[3], false, true, false, ['liangrenwan_0', 'siren_0'], ['mapid_0']]]],
    ['siren', [['4人', true, majiang_gs_create.pos3X[1], majiang_gs_create.posY[3], true, true, false, ['liangrenwan_0','sanrenwan_0'], ['mapid_0']]]],

    ['zuojiang258', [['258做将', true, majiang_gs_create.pos3X[2], majiang_gs_create.posY[4], false, false, false,null , ['mapid_0']]]],
    ['buyaofeng1', [['不要风牌', true, majiang_gs_create.pos3X[1], majiang_gs_create.posY[4], false, false, false,null , ['mapid_0']]]],
    ['hongzhong', [['红中赖子', true, majiang_gs_create.pos3X[3], majiang_gs_create.posY[4], false, false, false,null , ['mapid_0']]]],

    ['onlyzimo1', [['只能自摸胡', true, majiang_gs_create.pos3X[1], majiang_gs_create.posY[5], false, false, false,['AutoHu_0'] , ['mapid_0']]]],
    ['AutoHu', [['逢胡必胡', true, majiang_gs_create.pos3X[2], majiang_gs_create.posY[5], false, false, false, ['onlyzimo1_0'] , ['mapid_0']]]],


    // ['onlyzimo1', [['只能自摸胡', true, majiang_gs_create.pos3X[1], majiang_gs_create.posY[5], true, true, false, ['AutoHu_0'], ['mapid_0']]]],
    // ['AutoHu', [['逢胡必胡', true, majiang_gs_create.pos3X[2], majiang_gs_create.posY[5], true, true, false, ['onlyzimo1_0'], ['mapid_0']]]],

    ['paozi', [
        ['2个鱼', 2, majiang_gs_create.pos3X[1], majiang_gs_create.posY[6], true, true, false, null, ['mapid_0']],
        ['5个鱼', 5, majiang_gs_create.pos3X[2], majiang_gs_create.posY[6], false, true, false, null, ['mapid_0']],
        ['8个鱼', 8, majiang_gs_create.pos3X[3], majiang_gs_create.posY[6], false, true, false, null, ['mapid_0']],
        ['12个鱼', 12, majiang_gs_create.pos3X[1], majiang_gs_create.posY[7], false, true, false, null, ['mapid_0']],
    ]],

    //卡二条
    // ['liangrenwan_ket', [['2人', true,majiang_gs_create.pos3X[2], majiang_gs_create.posY[3], false, true, false, ['sanrenwan_ket_0'], ['mapid_2']]]],
    // ['sanrenwan_ket', [['3人', true, majiang_gs_create.pos3X[1], majiang_gs_create.posY[3], true, true, false, ['liangrenwan_ket_0'], ['mapid_2']]]],
    ['baseScore', [
        ['1,2,4', 0, majiang_gs_create.pos3X[1], majiang_gs_create.posY[4], true, true, false, null, ['mapid_2']],
        ['2,3,5', 1, majiang_gs_create.pos3X[2], majiang_gs_create.posY[4], false, true, false, null, ['mapid_2']],
        ['3,5,10', 2, majiang_gs_create.pos3X[3], majiang_gs_create.posY[4], false, true, false, null, ['mapid_2']],
        ['5,10,15', 3, majiang_gs_create.pos3X[1], majiang_gs_create.posY[5], false, true, false, null, ['mapid_2']],
    ]],
    //['tuoguan', [['托管', true, majiang_gs_create.pos3X[1], majiang_gs_create.posY[6], false, false, false,null , ['mapid_2']]]],

    //陇南摆叫玩法
    ['maxPlayerCnt', [
        ['两人玩', 2, majiang_gs_create.pos3X[1], majiang_gs_create.posY[3], false, true, false, null, ['mapid_1']],
        ['三人玩', 3, majiang_gs_create.pos3X[2], majiang_gs_create.posY[3], false, true, false, null, ['mapid_1']],
        ['四人玩', 4, majiang_gs_create.pos3X[3], majiang_gs_create.posY[3], true, true, false, null, ['mapid_1']],
    ]],

    ['maxPlayerCnt_ket', [
        ['两人玩', 2, majiang_gs_create.pos3X[1], majiang_gs_create.posY[3], false, true, false, null, ['mapid_2']],
        ['三人玩', 3, majiang_gs_create.pos3X[2], majiang_gs_create.posY[3], true, true, false, null, ['mapid_2']]
    ]],

    // ['newwanjiarenshu0', [['两人玩', 'maxPlayerCnt', 400, 485, true, false, false, null, ['mapid_1','mapid_2']]]],
    // ['newwanjiarenshu1', [['三人玩', 'maxPlayerCnt', 640, 485, false, false, false, null, ['mapid_1','mapid_2']]]],
    // ['newwanjiarenshu2', [['四人玩', 'maxPlayerCnt', 880, 485, false, false, false, null, ['mapid_1']]]],

    ['baiyi', [
        ['一摆一', 0, majiang_gs_create.pos3X[1], majiang_gs_create.posY[4], true, true, false, null, ['mapid_1']],
        ['二摆一', 1, majiang_gs_create.pos3X[2], majiang_gs_create.posY[4], false, true, false, null, ['mapid_1']],
        ['三摆一', 2, majiang_gs_create.pos3X[3], majiang_gs_create.posY[4], false, true, false, null, ['mapid_1']],
    ]],

    ['chajiao', [
        ['查大叫', 1, majiang_gs_create.pos3X[2], majiang_gs_create.posY[5], false, true, false, null, ['mapid_1']],
        ['查小叫', 0, majiang_gs_create.pos3X[1], majiang_gs_create.posY[5], true, true, false, null, ['mapid_1']],
    ]],
    ['zhangsi', [
        ['涨死牌局结束', 4, majiang_gs_create.pos3X[1], majiang_gs_create.posY[6], false, true, false, null, ['mapid_1']],
        ['涨死牌局不结束', 8, majiang_gs_create.pos3X[2], majiang_gs_create.posY[6], true, true, false, null, ['mapid_1']],
    ]],

    ['liangfenjiao', [['首位摆叫2分起', true, majiang_gs_create.pos3X[1], majiang_gs_create.posY[7], false, false, false, null, ['mapid_1']]]],
    //['qiduijiadandiao', [['七对加单钓分', true, majiang_gs_create.pos3X[2], majiang_gs_create.posY[7], false, false, false, null, ['mapid_1']]]],

    // ['wanjiarenshu0_ket', [['2人', 'liangrenwan', majiang_gs_create.pos3X[2], majiang_gs_create.posY[3], false, false, false, null, ['mapid_2']]]],
    // ['wanjiarenshu1_ket', [['3人', 'sanrenwan', majiang_gs_create.pos3X[1], majiang_gs_create.posY[3], false, false, false, null, ['mapid_2']]]],

    //俱乐部
    // ['wanjiarenshu0', [['2人', 'liangrenwan', majiang_gs_create.pos3X[3], majiang_gs_create.posY[3], false, false, false, null, ['mapid_0']]]],
    // ['wanjiarenshu1', [['3人', 'sanrenwan', majiang_gs_create.pos3X[2], majiang_gs_create.posY[3], false, false, false, null, ['mapid_0']]]],
    // ['wanjiarenshu2', [['4人', 'siren', majiang_gs_create.pos3X[1], majiang_gs_create.posY[3], false, false, false, null, ['mapid_0']]]],

    //autoReady
    ['autoReady', [
        ['', false, -1000, -1000, true, true, false, null, ['mapid_1']]
    ]]
];

/**
 * 混桌适配文件
 * @type {Object}
 */
// var majiang_gs_club_hunzhuo = {
//     'btn_1': {
//         'hide': ['liangrenwan', 'sanrenwan', 'siren'],
//         'view': ['wanjiarenshu0', 'wanjiarenshu1', 'wanjiarenshu2'],
//     },
//     'btn_2': {
//         'hide': ['maxPlayerCnt'],
//         'view': ['newwanjiarenshu0','newwanjiarenshu1','newwanjiarenshu2'],
//     },
//    'btn_3': {
//        'hide': ['maxPlayerCnt'],
//        'view':  ['newwanjiarenshu0','newwanjiarenshu1'],
//         // 'hide': ['liangrenwan_ket', 'sanrenwan_ket'],
//         // 'view': ['wanjiarenshu0_ket', 'wanjiarenshu1_ket'],
//     },
// };

var majiang_gs_fangka = {
    btn_1: [[4, 8, 16], [1,2, 4]],
    btn_2: [[4, 8, 16], [1,2, 4]],
    btn_3: [[4, 8, 16], [1,2, 4]],
};
